package cn.edu.cug.cs.gtl.docsrv.config;


import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix = "hdfs")
public class HDFSConfig {
    private String hdfsIP;
    private int hdfsPort;
    private String hdfsUrl;
    private String hdfsCurrentDirectory;

    public String getHdfsCurrentDirectory() {
        return hdfsCurrentDirectory;
    }

    public void setHdfsCurrentDirectory(String hdfsCurrentDirectory) {
        this.hdfsCurrentDirectory = hdfsCurrentDirectory;
    }

    public String getHdfsIP() {
        return hdfsIP;
    }

    public void setHdfsIP(String hdfsIP) {
        this.hdfsIP = hdfsIP;
    }

    public int getHdfsPort() {
        return hdfsPort;
    }

    public void setHdfsPort(int hdfsPort) {
        this.hdfsPort = hdfsPort;
    }

    public String getHdfsUrl() {
        return hdfsUrl;
    }

    public void setHdfsUrl(String hdfsUrl) {
        this.hdfsUrl = hdfsUrl;
    }
}
